import Router from 'koa-router';

import user from '../../controller/v1/user'
const router = new Router()

router.post('/register', user.newUser)

router.post('/login', user.login)

router.get('/exist', user.exist)

router.get('/testNuxt', user.testNuxt)

export default router